package com.wbj.direction.sensor.direction

import android.content.Context
import android.graphics.Canvas
import android.graphics.Matrix
import android.graphics.Paint
import android.graphics.Shader
import android.util.AttributeSet
import android.view.View
import androidx.recyclerview.widget.RecyclerView

/**
 * @auth: WANGCHUANGJUN
 * @mail: wangchuangjun@noboauto.com
 * @desc:
 * @date: 2022/2/16 13:18
 */
class ShadowRecyclerView:RecyclerView {

    constructor(context: Context) : this(context, null)
    constructor(context: Context, attrs: AttributeSet?) : super(context, attrs, 0)

    override fun getLeftFadingEdgeStrength(): Float {
        return 1.0f
    }

    override fun getRightFadingEdgeStrength(): Float {
        return 1.0f
    }

}